export default {
  path: "/user",
  redirect: "/user/userList",
  meta: {
    icon: "ri:user-fill",
    // showLink: false,
    title: "用户管理",
    rank: 22
  },
  children: [
    {
      path: "/user/userList",
      name: "userList",
      component: () => import("@/views/user/User.vue"),
      meta: {
        title: "用户管理",
        showParent: true
      }
    },
    {
      path: "/user/update",
      name: "updateUser",
      component: () => import("@/views/user/UserUpdate.vue"),
      meta: {
        title: "用户修改",
        showLink: false
      }
    },
    {
      path: "/user/add",
      name: "addUser",
      component: () => import("@/views/user/UserAdd.vue"),
      meta: {
        title: "用户添加",
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
